With the release of Sound Manager 3.2, you can easily convert between sound formats. Typically, some of the operations that can be performed include
You begin a conversion session by calling the SoundConverterOpen function, to which you pass the format of the sound to be converted and the desired output format. A SoundConverter identifier is returned that must be passed to all further routines in this session. SoundConverterClose is used to close the session.
The SoundConverterGetBufferSizes routine allows you to determine input and output buffer sizes based on a target buffer size. This lets you allocate buffers to fit the conversion established with SoundConverterOpen .
| Previous | Chapter Contents | Chapter Top | Next |